package com.eportal.ORM;

import java.math.BigDecimal;



/**
 * ViewWtPepPayinfo entity. @author MyEclipse Persistence Tools
 */

public class ViewWtPepPayinfo  implements java.io.Serializable {


    // Fields    

     private String payZfId;
     private String payDate;
     private BigDecimal payCount;
     private BigDecimal paySum;
     private BigDecimal payFee;
     private BigDecimal payAllAmt;
     private String remark;
     


    // Constructors

    public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/** default constructor */
    public ViewWtPepPayinfo() {
    }

	/** minimal constructor */
    public ViewWtPepPayinfo(String payDate) {
        this.payDate = payDate;
    }
    
    /** full constructor */
    public ViewWtPepPayinfo(String payZfId, String payDate, BigDecimal payCount, BigDecimal paySum, BigDecimal payFee, BigDecimal payAllAmt) {
        this.payZfId = payZfId;
        this.payDate = payDate;
        this.payCount = payCount;
        this.paySum = paySum;
        this.payFee = payFee;
        this.payAllAmt = payAllAmt;
    }

   
    // Property accessors

    public String getPayZfId() {
        return this.payZfId;
    }
    
    public void setPayZfId(String payZfId) {
        this.payZfId = payZfId;
    }

    public String getPayDate() {
        return this.payDate;
    }
    
    public void setPayDate(String payDate) {
        this.payDate = payDate;
    }

    public BigDecimal getPayCount() {
        return this.payCount;
    }
    
    public void setPayCount(BigDecimal payCount) {
        this.payCount = payCount;
    }

    public BigDecimal getPaySum() {
        return this.paySum;
    }
    
    public void setPaySum(BigDecimal paySum) {
        this.paySum = paySum;
    }

    public BigDecimal getPayFee() {
        return this.payFee;
    }
    
    public void setPayFee(BigDecimal payFee) {
        this.payFee = payFee;
    }

    public BigDecimal getPayAllAmt() {
        return this.payAllAmt;
    }
    
    public void setPayAllAmt(BigDecimal payAllAmt) {
        this.payAllAmt = payAllAmt;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof ViewWtPepPayinfo) ) return false;
		 ViewWtPepPayinfo castOther = ( ViewWtPepPayinfo ) other; 
         
		 return ( (this.getPayZfId()==castOther.getPayZfId()) || ( this.getPayZfId()!=null && castOther.getPayZfId()!=null && this.getPayZfId().equals(castOther.getPayZfId()) ) )
 && ( (this.getPayDate()==castOther.getPayDate()) || ( this.getPayDate()!=null && castOther.getPayDate()!=null && this.getPayDate().equals(castOther.getPayDate()) ) )
 && ( (this.getPayCount()==castOther.getPayCount()) || ( this.getPayCount()!=null && castOther.getPayCount()!=null && this.getPayCount().equals(castOther.getPayCount()) ) )
 && ( (this.getPaySum()==castOther.getPaySum()) || ( this.getPaySum()!=null && castOther.getPaySum()!=null && this.getPaySum().equals(castOther.getPaySum()) ) )
 && ( (this.getPayFee()==castOther.getPayFee()) || ( this.getPayFee()!=null && castOther.getPayFee()!=null && this.getPayFee().equals(castOther.getPayFee()) ) )
 && ( (this.getPayAllAmt()==castOther.getPayAllAmt()) || ( this.getPayAllAmt()!=null && castOther.getPayAllAmt()!=null && this.getPayAllAmt().equals(castOther.getPayAllAmt()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getPayZfId() == null ? 0 : this.getPayZfId().hashCode() );
         result = 37 * result + ( getPayDate() == null ? 0 : this.getPayDate().hashCode() );
         result = 37 * result + ( getPayCount() == null ? 0 : this.getPayCount().hashCode() );
         result = 37 * result + ( getPaySum() == null ? 0 : this.getPaySum().hashCode() );
         result = 37 * result + ( getPayFee() == null ? 0 : this.getPayFee().hashCode() );
         result = 37 * result + ( getPayAllAmt() == null ? 0 : this.getPayAllAmt().hashCode() );
         return result;
   }   





}